
package com.kgajowy.terminals;

import com.kgajowy.expressions.Expression;

import edu.pjwstk.jps.ast.terminal.IDoubleTerminal;

public class DoubleTerminal extends Expression implements IDoubleTerminal {

    private Double value;

    public DoubleTerminal(Double value) {
        super(value.toString());
        this.setValue(value);
    }

    @Override
    public Double getValue() {
        return this.value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

}
